package server;



/**
 */
public interface IDBConnector {

    public static final DBProperties dbProperties = null;

    public void connect(DBProperties dbProps) throws DBConException;

    public void disconnect();

    public Boolean isConnected();

    public DBProperties getCurrentDBProperties()
 throws DBConException;

    /**
     * 
     * @return ConType if there is no active connection, ConType will be
     *         <code>null</code>
     */
    public <ConType>ConType getCurConnection ();

}

